﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using CPPProject.CppServices.Dto;
using System;
using System.Threading.Tasks;

namespace CPPProject.CppServices
{
    public interface IT_Biz_CustomerAPPService : IAsyncCrudAppService<T_Biz_CustomerDto, Guid, PagedResultRequestDto, UpdateT_Biz_CustomerDto, UpdateT_Biz_CustomerDto>
    {
        /// <summary>
        /// 客户管理
        /// </summary>
        /// <param name="nCompanyID"></param>
        /// <param name="cCusCode"></param>
        /// <param name="cName"></param>
        /// <param name="skipCount"></param>
        /// <param name="maxResultCount"></param>
        /// <returns></returns>
        Task<PagedResultDto<T_Biz_CustomerDto>> GetList(string nCompanyID, string cCusCode = "", string cName = "", int skipCount = 0, int maxResultCount = 10);
        /// <summary>
        /// 查询全部
        /// </summary>
        /// <param name="cCusCode"></param>
        /// <returns></returns>
        Task<T_Biz_CustomerDto> GetList2(string cCusCode);
    }
}
